<include file="Public:header" />
<div style="boder:1px solid #ccc;margin:10px 10px 0px 10px;">
    <div style="border:1px solid #ccc;height:40px;padding:0 0 0 20px;line-height:40px;">
           添加栏目
    </div>
    <form action="{:U('WebsiteColumnManage/editColumnStatus')}" method="post">
    <div style="border:1px solid #ccc;height:auto;padding:0px 10px 5px 10px;margin-top:5px;"> 
        <table width="100%">
           <tr>
               <td colspan="5" height="45">
                   
                        <div style="border:1px solid #ccc;padding:5px 5px 5px 5px;width:auto;text-align:center;float:left;">
                            <a href="{:U('WebsiteColumnManage/index')}">我的栏目</a>
                        </div>
           
               </td>
           </tr>
           <tr>
               <th width="60">ID</th>
               <th>栏目名称</th>
               <th width="150">属性</th>
               <th width="50">排序</th>
               <th width="30">管理</th>
           </tr>
           <foreach name="column" item="val">
           <tr>
               <td><input type="checkbox" name="id[]" value="{$val.id}"/> {$val.id} </td>
               <td>{$val.column_name}</td>
                <td>
                    {$val.column_type}
                </td>
                <td>
                    <if condition="$val.status eq 1">√<else />×</if>
                </td>
                <td>
                    <a href="{:U('WebsiteColumnManage/editColumnStatus/id/'.$val['id'])}">添加</a>
                </td>
            </tr>
            </foreach>
            <tr>
                <td colspan="5">{$page}</td>
            </tr>
            
    </table>
    </div>
    <div style="border:1px solid #ccc;margin:5px 0px 5px 0px;padding:5px 0px 5px 10px;">
        <input type="submit" name="add" value="添加" />
        <input type="reset" value="重置" />
    </div>
    </form>

    

</div>
  </body>
</html>


